package edu.sctu.zhangwang.month201505.textOne;

/**
 * Created by user10 on 2015/5/13.
 */
public class EmpInfo {


    public static void main(String[] args) {
        Employee emp1 = new Employee("张望",007);
        emp1.setAddress("成都");
        emp1.setSalary(5000);
        System.out.print(emp1.empInfo());

        Employee emp2 = new Employee("张望",10007,"北京");
        emp2.raiseSalary(2);
        emp2.setSalary(8000);
        System.out.println(emp2.empInfo());


    }
}
